package com.bw.module_mine.model

import com.google.gson.Gson
import com.tencent.bugly.proguard.s
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody

/**
 * @author zhy
 * @date 2025-09-23 13:52
 * @description
 */
data class LoginPostModel(
    val grantType: String,
    val newPassword: String,
    val operatorType: Int,
    val password: String,
    val smsCode: String,
    val userName: String
){
    fun toBody():RequestBody{
        return Gson().toJson(this).toRequestBody("application/json".toMediaType())
    }

}